projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b7d28c
)
Avoid a compiler warning on macOS.
author
Philipp Stephani
<phst@google.com>
Wed, 2 Jan 2019 17:56:49 +0000
(18:56 +0100)
committer
Philipp Stephani
<phst@google.com>
Wed, 2 Jan 2019 21:08:59 +0000
(22:08 +0100)
* src/xdisp.c (expose_window_tree): Define variable f only if used.
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index f6f75f321c4bbe7c1580303fb8b9ea276a4fbaac..8b091c81beff3d992086fb24b6e94fccbbe7b369 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-32390,7
+32390,9
@@
expose_window (struct window *w, XRectangle *fr)
static bool
expose_window_tree (struct window *w, XRectangle *r)
{
+#ifndef HAVE_NS
struct frame *f = XFRAME (w->frame);
+#endif
bool mouse_face_overwritten_p = false;
/* NS toolkits may have aleady modified the frame in expectation of